#ifndef __MULTI_MENU_H
#define __MULTI_MENU_H	 
#define oneline 14
#define twoline 30
#define thrline 46
#define fline   62
#define cursor_row 0
#define nonselec 18
#define selec 15

#define uchar unsigned char

typedef struct 
{
	uchar current;
	uchar up;
	uchar down;
	uchar enter;
	void (*current_operation)();
  int eeprom_num;
} key_table;

extern key_table table[32];
	
extern void fun_a1(); 
extern void fun_b1();  
extern void fun_c1(); 
extern void fun_d1();   

extern void fun_a21(); 
extern void fun_a22();   

extern void fun_b21(); 
extern void fun_b22();  
extern void fun_b23();  
extern void fun_b24(); 
extern void fun_b25();  
extern void fun_b26(); 

extern void fun_c21(); 
extern void fun_c22(); 
extern void fun_c23();  

extern void fun_d21(); 
extern void fun_d22();  
extern void fun_d23();  
extern void fun_d24(); 

extern void fun_a31(); 
extern void fun_a32();  
extern void fun_a33();  
extern void fun_a34();  
extern void fun_a35();  

extern void fun_b31(); 

extern void fun_c31(); 
extern void fun_c32();  
extern void fun_c33();  
extern void fun_c34();  
extern void fun_c35(); 

extern void fun_a41(); 
extern void fun_c41(); 

extern void UI_turn();

extern void UI_refresh();

#endif
